package entity;

public class Electric {
	private int id;
	private Dormitory dormitory;
	private String month;
	private double electricRead;
	private double electricFee;
	private String state;
	
	public Electric(){
		
	}

	public Electric(Dormitory dormitory, String month, double electricRead,
			double electricFee, String state) {
		//super();
		this.dormitory = dormitory;
		this.month = month;
		this.electricRead = electricRead;
		this.electricFee = electricFee;
		this.state = state;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Dormitory getDormitory() {
		return dormitory;
	}

	public void setDormitory(Dormitory dormitory) {
		this.dormitory = dormitory;
	}

	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public double getElectricRead() {
		return electricRead;
	}

	public void setElectricRead(double electricRead) {
		this.electricRead = electricRead;
	}

	public double getElectricFee() {
		return electricFee;
	}

	public void setElectricFee(double electricFee) {
		this.electricFee = electricFee;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Electric [id=" + id + ", dormitory=" + dormitory + ", month="
				+ month + ", electricRead=" + electricRead + ", electricFee="
				+ electricFee + ", state=" + state + "]";
	}
	
	
	
}
